package com.knife.hospital.mapper;

import org.springframework.data.repository.query.Param;
import com.knife.hospital.entity.UserPO;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface UserPOMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserPO record);

    int insertSelective(UserPO record);

    UserPO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserPO record);

    int updateByPrimaryKey(UserPO record);

    List<UserPO> selectByNickname(@Param("nickname") String nickname);
}
